namespace Cos.Core.NHibernate.Mapping
{
    #region Usings

    using FluentNHibernate.Mapping;

    #endregion

    public class GroupMap : ClassMap<GroupDataModel>
    {
        #region Constructors and Destructors

        public GroupMap()
        {
            this.Table("Groups");
            this.LazyLoad();
            this.Id(x => x.Id).GeneratedBy.Native().Column("GroupID");
            Map(x => x.AccountId).Column("AccountID");
        }

        #endregion
    }
}